package com.woniu.inlet.web.fo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("优惠券fo对象")
public class CouponFo {

    @ApiModelProperty("优惠券的名字")
    private String name;

    @ApiModelProperty("达到满减的金额")
    private BigDecimal conditions;

    @ApiModelProperty("优惠的金额")
    private Integer privilege;

    @ApiModelProperty("优惠券的有效天数")
    private Integer validity;

    @ApiModelProperty("优惠券的起始时间")
    private String createTime;


}
